package old_go_learn

func main(){
	//创建一个双向channel
	ch := make(chan int)

	//双向channel能隐式转换为单向channel
	var writeCh chan<- int = ch    //只能写，不能读

	writeCh <- 666
}
